active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
P1(mark1(X)) -> P1(X)
ACTIVE1(zero1(X)) -> ZERO1(active1(X))
PROPER1(prod2(X1, X2)) -> PROPER1(X2)
S1(mark1(X)) -> S1(X)
ACTIVE1(p1(X)) -> ACTIVE1(X)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X2)
ACTIVE1(if3(X1, X2, X3)) -> IF3(active1(X1), X2, X3)
TOP1(mark1(X)) -> TOP1(proper1(X))
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
ZERO1(mark1(X)) -> ZERO1(X)
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
PROD2(ok1(X1), ok1(X2)) -> PROD2(X1, X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X2)
FACT1(mark1(X)) -> FACT1(X)
PROPER1(zero1(X)) -> PROPER1(X)
P1(ok1(X)) -> P1(X)
ACTIVE1(add2(X1, X2)) -> ADD2(active1(X1), X2)
ACTIVE1(fact1(X)) -> FACT1(p1(X))
TOP1(ok1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(s1(X), Y)) -> ADD2(Y, prod2(X, Y))
ACTIVE1(s1(X)) -> S1(active1(X))
ACTIVE1(add2(X1, X2)) -> ADD2(X1, active1(X2))
PROPER1(s1(X)) -> PROPER1(X)
ACTIVE1(fact1(X)) -> PROD2(X, fact1(p1(X)))
ACTIVE1(add2(s1(X), Y)) -> ADD2(X, Y)
PROPER1(prod2(X1, X2)) -> PROPER1(X1)
PROPER1(p1(X)) -> PROPER1(X)
PROPER1(prod2(X1, X2)) -> PROD2(proper1(X1), proper1(X2))
TOP1(mark1(X)) -> PROPER1(X)
ACTIVE1(fact1(X)) -> FACT1(active1(X))
ADD2(mark1(X1), X2) -> ADD2(X1, X2)
ACTIVE1(fact1(X)) -> P1(X)
PROD2(X1, mark1(X2)) -> PROD2(X1, X2)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X1)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X1)
IF3(ok1(X1), ok1(X2), ok1(X3)) -> IF3(X1, X2, X3)
PROPER1(add2(X1, X2)) -> PROPER1(X1)
PROPER1(add2(X1, X2)) -> ADD2(proper1(X1), proper1(X2))
PROPER1(if3(X1, X2, X3)) -> IF3(proper1(X1), proper1(X2), proper1(X3))
PROPER1(fact1(X)) -> PROPER1(X)
PROPER1(p1(X)) -> P1(proper1(X))
ACTIVE1(prod2(X1, X2)) -> PROD2(active1(X1), X2)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X3)
PROPER1(s1(X)) -> S1(proper1(X))
FACT1(ok1(X)) -> FACT1(X)
PROPER1(fact1(X)) -> FACT1(proper1(X))
S1(ok1(X)) -> S1(X)
ACTIVE1(s1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(s1(X), Y)) -> PROD2(X, Y)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X2)
ADD2(ok1(X1), ok1(X2)) -> ADD2(X1, X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> S1(0)
ACTIVE1(zero1(X)) -> ACTIVE1(X)
ACTIVE1(fact1(X)) -> IF3(zero1(X), s1(0), prod2(X, fact1(p1(X))))
PROPER1(add2(X1, X2)) -> PROPER1(X2)
ACTIVE1(p1(X)) -> P1(active1(X))
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
PROPER1(zero1(X)) -> ZERO1(proper1(X))
TOP1(ok1(X)) -> TOP1(active1(X))
ACTIVE1(if3(X1, X2, X3)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(X1, X2)) -> PROD2(X1, active1(X2))
ACTIVE1(fact1(X)) -> ZERO1(X)
ZERO1(ok1(X)) -> ZERO1(X)
ACTIVE1(add2(s1(X), Y)) -> S1(add2(X, Y))
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
P1(mark1(X)) -> P1(X)
ACTIVE1(zero1(X)) -> ZERO1(active1(X))
PROPER1(prod2(X1, X2)) -> PROPER1(X2)
S1(mark1(X)) -> S1(X)
ACTIVE1(p1(X)) -> ACTIVE1(X)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X2)
ACTIVE1(if3(X1, X2, X3)) -> IF3(active1(X1), X2, X3)
TOP1(mark1(X)) -> TOP1(proper1(X))
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
ZERO1(mark1(X)) -> ZERO1(X)
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
PROD2(ok1(X1), ok1(X2)) -> PROD2(X1, X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X2)
FACT1(mark1(X)) -> FACT1(X)
PROPER1(zero1(X)) -> PROPER1(X)
P1(ok1(X)) -> P1(X)
ACTIVE1(add2(X1, X2)) -> ADD2(active1(X1), X2)
ACTIVE1(fact1(X)) -> FACT1(p1(X))
TOP1(ok1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(s1(X), Y)) -> ADD2(Y, prod2(X, Y))
ACTIVE1(s1(X)) -> S1(active1(X))
ACTIVE1(add2(X1, X2)) -> ADD2(X1, active1(X2))
PROPER1(s1(X)) -> PROPER1(X)
ACTIVE1(fact1(X)) -> PROD2(X, fact1(p1(X)))
ACTIVE1(add2(s1(X), Y)) -> ADD2(X, Y)
PROPER1(prod2(X1, X2)) -> PROPER1(X1)
PROPER1(p1(X)) -> PROPER1(X)
PROPER1(prod2(X1, X2)) -> PROD2(proper1(X1), proper1(X2))
TOP1(mark1(X)) -> PROPER1(X)
ACTIVE1(fact1(X)) -> FACT1(active1(X))
ADD2(mark1(X1), X2) -> ADD2(X1, X2)
ACTIVE1(fact1(X)) -> P1(X)
PROD2(X1, mark1(X2)) -> PROD2(X1, X2)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X1)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X1)
IF3(ok1(X1), ok1(X2), ok1(X3)) -> IF3(X1, X2, X3)
PROPER1(add2(X1, X2)) -> PROPER1(X1)
PROPER1(add2(X1, X2)) -> ADD2(proper1(X1), proper1(X2))
PROPER1(if3(X1, X2, X3)) -> IF3(proper1(X1), proper1(X2), proper1(X3))
PROPER1(fact1(X)) -> PROPER1(X)
PROPER1(p1(X)) -> P1(proper1(X))
ACTIVE1(prod2(X1, X2)) -> PROD2(active1(X1), X2)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X3)
PROPER1(s1(X)) -> S1(proper1(X))
FACT1(ok1(X)) -> FACT1(X)
PROPER1(fact1(X)) -> FACT1(proper1(X))
S1(ok1(X)) -> S1(X)
ACTIVE1(s1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(s1(X), Y)) -> PROD2(X, Y)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X2)
ADD2(ok1(X1), ok1(X2)) -> ADD2(X1, X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> S1(0)
ACTIVE1(zero1(X)) -> ACTIVE1(X)
ACTIVE1(fact1(X)) -> IF3(zero1(X), s1(0), prod2(X, fact1(p1(X))))
PROPER1(add2(X1, X2)) -> PROPER1(X2)
ACTIVE1(p1(X)) -> P1(active1(X))
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
PROPER1(zero1(X)) -> ZERO1(proper1(X))
TOP1(ok1(X)) -> TOP1(active1(X))
ACTIVE1(if3(X1, X2, X3)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> ACTIVE1(X)
ACTIVE1(prod2(X1, X2)) -> PROD2(X1, active1(X2))
ACTIVE1(fact1(X)) -> ZERO1(X)
ZERO1(ok1(X)) -> ZERO1(X)
ACTIVE1(add2(s1(X), Y)) -> S1(add2(X, Y))
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
ADD2(mark1(X1), X2) -> ADD2(X1, X2)
ADD2(ok1(X1), ok1(X2)) -> ADD2(X1, X2)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ADD2(mark1(X1), X2) -> ADD2(X1, X2)
ADD2(ok1(X1), ok1(X2)) -> ADD2(X1, X2)
Used ordering: Polynomial interpretation [21]:
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
POL(ADD2(x1, x2)) = x1
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ADD2(X1, mark1(X2)) -> ADD2(X1, X2)
POL(ADD2(x1, x2)) = x2
POL(mark1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
P1(mark1(X)) -> P1(X)
P1(ok1(X)) -> P1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
P1(mark1(X)) -> P1(X)
P1(ok1(X)) -> P1(X)
POL(P1(x1)) = x1
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PROD2(ok1(X1), ok1(X2)) -> PROD2(X1, X2)
PROD2(X1, mark1(X2)) -> PROD2(X1, X2)
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PROD2(ok1(X1), ok1(X2)) -> PROD2(X1, X2)
PROD2(X1, mark1(X2)) -> PROD2(X1, X2)
Used ordering: Polynomial interpretation [21]:
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
POL(PROD2(x1, x2)) = x2
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PROD2(mark1(X1), X2) -> PROD2(X1, X2)
POL(PROD2(x1, x2)) = x1
POL(mark1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
S1(ok1(X)) -> S1(X)
S1(mark1(X)) -> S1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
S1(ok1(X)) -> S1(X)
S1(mark1(X)) -> S1(X)
POL(S1(x1)) = x1
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
ZERO1(mark1(X)) -> ZERO1(X)
ZERO1(ok1(X)) -> ZERO1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ZERO1(mark1(X)) -> ZERO1(X)
ZERO1(ok1(X)) -> ZERO1(X)
POL(ZERO1(x1)) = x1
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
IF3(ok1(X1), ok1(X2), ok1(X3)) -> IF3(X1, X2, X3)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF3(ok1(X1), ok1(X2), ok1(X3)) -> IF3(X1, X2, X3)
Used ordering: Polynomial interpretation [21]:
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
POL(IF3(x1, x2, x3)) = x2 + x3
POL(mark1(x1)) = 0
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF3(mark1(X1), X2, X3) -> IF3(X1, X2, X3)
POL(IF3(x1, x2, x3)) = x1
POL(mark1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
FACT1(mark1(X)) -> FACT1(X)
FACT1(ok1(X)) -> FACT1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FACT1(mark1(X)) -> FACT1(X)
FACT1(ok1(X)) -> FACT1(X)
POL(FACT1(x1)) = x1
POL(mark1(x1)) = 1 + x1
POL(ok1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
PROPER1(add2(X1, X2)) -> PROPER1(X1)
PROPER1(zero1(X)) -> PROPER1(X)
PROPER1(s1(X)) -> PROPER1(X)
PROPER1(fact1(X)) -> PROPER1(X)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X3)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X1)
PROPER1(prod2(X1, X2)) -> PROPER1(X2)
PROPER1(prod2(X1, X2)) -> PROPER1(X1)
PROPER1(add2(X1, X2)) -> PROPER1(X2)
PROPER1(p1(X)) -> PROPER1(X)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X2)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PROPER1(add2(X1, X2)) -> PROPER1(X1)
PROPER1(zero1(X)) -> PROPER1(X)
PROPER1(s1(X)) -> PROPER1(X)
PROPER1(fact1(X)) -> PROPER1(X)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X3)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X1)
PROPER1(prod2(X1, X2)) -> PROPER1(X2)
PROPER1(prod2(X1, X2)) -> PROPER1(X1)
PROPER1(add2(X1, X2)) -> PROPER1(X2)
PROPER1(if3(X1, X2, X3)) -> PROPER1(X2)
Used ordering: Polynomial interpretation [21]:
PROPER1(p1(X)) -> PROPER1(X)
POL(PROPER1(x1)) = x1
POL(add2(x1, x2)) = 1 + x1 + x2
POL(fact1(x1)) = 1 + x1
POL(if3(x1, x2, x3)) = 1 + x1 + x2 + x3
POL(p1(x1)) = x1
POL(prod2(x1, x2)) = 1 + x1 + x2
POL(s1(x1)) = 1 + x1
POL(zero1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
PROPER1(p1(X)) -> PROPER1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PROPER1(p1(X)) -> PROPER1(X)
POL(PROPER1(x1)) = x1
POL(p1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> ACTIVE1(X)
ACTIVE1(if3(X1, X2, X3)) -> ACTIVE1(X1)
ACTIVE1(zero1(X)) -> ACTIVE1(X)
ACTIVE1(s1(X)) -> ACTIVE1(X)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X2)
ACTIVE1(p1(X)) -> ACTIVE1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X2)
ACTIVE1(prod2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X1)
ACTIVE1(fact1(X)) -> ACTIVE1(X)
ACTIVE1(if3(X1, X2, X3)) -> ACTIVE1(X1)
ACTIVE1(zero1(X)) -> ACTIVE1(X)
ACTIVE1(s1(X)) -> ACTIVE1(X)
ACTIVE1(add2(X1, X2)) -> ACTIVE1(X2)
Used ordering: Polynomial interpretation [21]:
ACTIVE1(p1(X)) -> ACTIVE1(X)
POL(ACTIVE1(x1)) = x1
POL(add2(x1, x2)) = 1 + x1 + x2
POL(fact1(x1)) = 1 + x1
POL(if3(x1, x2, x3)) = 1 + x1
POL(p1(x1)) = x1
POL(prod2(x1, x2)) = 1 + x1 + x2
POL(s1(x1)) = 1 + x1
POL(zero1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
ACTIVE1(p1(X)) -> ACTIVE1(X)
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVE1(p1(X)) -> ACTIVE1(X)
POL(ACTIVE1(x1)) = x1
POL(p1(x1)) = 1 + x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
TOP1(ok1(X)) -> TOP1(active1(X))
TOP1(mark1(X)) -> TOP1(proper1(X))
active1(fact1(X)) -> mark1(if3(zero1(X), s1(0), prod2(X, fact1(p1(X)))))
active1(add2(0, X)) -> mark1(X)
active1(add2(s1(X), Y)) -> mark1(s1(add2(X, Y)))
active1(prod2(0, X)) -> mark1(0)
active1(prod2(s1(X), Y)) -> mark1(add2(Y, prod2(X, Y)))
active1(if3(true, X, Y)) -> mark1(X)
active1(if3(false, X, Y)) -> mark1(Y)
active1(zero1(0)) -> mark1(true)
active1(zero1(s1(X))) -> mark1(false)
active1(p1(s1(X))) -> mark1(X)
active1(fact1(X)) -> fact1(active1(X))
active1(if3(X1, X2, X3)) -> if3(active1(X1), X2, X3)
active1(zero1(X)) -> zero1(active1(X))
active1(s1(X)) -> s1(active1(X))
active1(prod2(X1, X2)) -> prod2(active1(X1), X2)
active1(prod2(X1, X2)) -> prod2(X1, active1(X2))
active1(p1(X)) -> p1(active1(X))
active1(add2(X1, X2)) -> add2(active1(X1), X2)
active1(add2(X1, X2)) -> add2(X1, active1(X2))
fact1(mark1(X)) -> mark1(fact1(X))
if3(mark1(X1), X2, X3) -> mark1(if3(X1, X2, X3))
zero1(mark1(X)) -> mark1(zero1(X))
s1(mark1(X)) -> mark1(s1(X))
prod2(mark1(X1), X2) -> mark1(prod2(X1, X2))
prod2(X1, mark1(X2)) -> mark1(prod2(X1, X2))
p1(mark1(X)) -> mark1(p1(X))
add2(mark1(X1), X2) -> mark1(add2(X1, X2))
add2(X1, mark1(X2)) -> mark1(add2(X1, X2))
proper1(fact1(X)) -> fact1(proper1(X))
proper1(if3(X1, X2, X3)) -> if3(proper1(X1), proper1(X2), proper1(X3))
proper1(zero1(X)) -> zero1(proper1(X))
proper1(s1(X)) -> s1(proper1(X))
proper1(0) -> ok1(0)
proper1(prod2(X1, X2)) -> prod2(proper1(X1), proper1(X2))
proper1(p1(X)) -> p1(proper1(X))
proper1(add2(X1, X2)) -> add2(proper1(X1), proper1(X2))
proper1(true) -> ok1(true)
proper1(false) -> ok1(false)
fact1(ok1(X)) -> ok1(fact1(X))
if3(ok1(X1), ok1(X2), ok1(X3)) -> ok1(if3(X1, X2, X3))
zero1(ok1(X)) -> ok1(zero1(X))
s1(ok1(X)) -> ok1(s1(X))
prod2(ok1(X1), ok1(X2)) -> ok1(prod2(X1, X2))
p1(ok1(X)) -> ok1(p1(X))
add2(ok1(X1), ok1(X2)) -> ok1(add2(X1, X2))
top1(mark1(X)) -> top1(proper1(X))
top1(ok1(X)) -> top1(active1(X))